﻿#include "FITKAbaConnectorBehaviorDamping.h"



Interface::FITKAbaConnectorBehaviorEnum::ConnectorBehaviorType Interface::FITKAbaConnectorBehaviorDamping::getBehaviorType() const
{
    return Interface::FITKAbaConnectorBehaviorEnum::ConnectorBehaviorType::Damping;
}


namespace Interface {

FITKAbaConnectorBehaviorEnum::Definition FITKAbaConnectorBehaviorDamping::getDefinition() const
{
    return m_definition;
}

void FITKAbaConnectorBehaviorDamping::setDefinition(const FITKAbaConnectorBehaviorEnum::Definition &newDefinition)
{
    m_definition = newDefinition;
}

std::array<bool, 6> FITKAbaConnectorBehaviorDamping::getForceMoment() const
{
    return m_forceMoment;
}

void FITKAbaConnectorBehaviorDamping::setForceMoment(const std::array<bool, 6> &newForceMoment)
{
    m_forceMoment = newForceMoment;
}

std::array<bool, 6> FITKAbaConnectorBehaviorDamping::getIndependentComps() const
{
    return m_independentComps;
}

void FITKAbaConnectorBehaviorDamping::setIndependentComps(const std::array<bool, 6> &newIndependentComps)
{
    m_independentComps = newIndependentComps;
}

FITKAbaConnectorBehaviorEnum::Coupling FITKAbaConnectorBehaviorDamping::getCoupling() const
{
    return m_coupling;
}

void FITKAbaConnectorBehaviorDamping::setCoupling(const FITKAbaConnectorBehaviorEnum::Coupling &newCoupling)
{
    m_coupling = newCoupling;
}

int FITKAbaConnectorBehaviorDamping::getDataRowCount() const
{
    return m_datas.count();
}

void FITKAbaConnectorBehaviorDamping::setDataRowCount(int num)
{
    if (num >= 1)
        m_datas.resize(num);
}

void FITKAbaConnectorBehaviorDamping::insertDataRow(int index)
{
    if (index >= 0 && index < m_datas.count())
        m_datas.insert(index, ConnectorBHDampingData());
}

void FITKAbaConnectorBehaviorDamping::removeDataRow(int index)
{
    if (m_datas.count() == 1)
        return;
    if (index >= 0 && index < m_datas.count())
        m_datas.removeAt(index);
}

ConnectorBHDampingData &FITKAbaConnectorBehaviorDamping::getRowData(int index)
{
    return m_datas[index];
}

const ConnectorBHDampingData &FITKAbaConnectorBehaviorDamping::getRowData(int index) const
{
    return m_datas[index];
}


double ConnectorBHDampingData::getC11() const
{
    return C11;
}

void ConnectorBHDampingData::setC11(double newC11)
{
    C11 = newC11;
}

double ConnectorBHDampingData::getC12() const
{
    return C12;
}

void ConnectorBHDampingData::setC12(double newC12)
{
    C12 = newC12;
}

double ConnectorBHDampingData::getC22() const
{
    return C22;
}

void ConnectorBHDampingData::setC22(double newC22)
{
    C22 = newC22;
}

double ConnectorBHDampingData::getC13() const
{
    return C13;
}

void ConnectorBHDampingData::setC13(double newC13)
{
    C13 = newC13;
}

double ConnectorBHDampingData::getC23() const
{
    return C23;
}

void ConnectorBHDampingData::setC23(double newC23)
{
    C23 = newC23;
}

double ConnectorBHDampingData::getC33() const
{
    return C33;
}

void ConnectorBHDampingData::setC33(double newC33)
{
    C33 = newC33;
}

double ConnectorBHDampingData::getC14() const
{
    return C14;
}

void ConnectorBHDampingData::setC14(double newC14)
{
    C14 = newC14;
}

double ConnectorBHDampingData::getC24() const
{
    return C24;
}

void ConnectorBHDampingData::setC24(double newC24)
{
    C24 = newC24;
}

double ConnectorBHDampingData::getC34() const
{
    return C34;
}

void ConnectorBHDampingData::setC34(double newC34)
{
    C34 = newC34;
}

double ConnectorBHDampingData::getC44() const
{
    return C44;
}

void ConnectorBHDampingData::setC44(double newC44)
{
    C44 = newC44;
}

double ConnectorBHDampingData::getC15() const
{
    return C15;
}

void ConnectorBHDampingData::setC15(double newC15)
{
    C15 = newC15;
}

double ConnectorBHDampingData::getC25() const
{
    return C25;
}

void ConnectorBHDampingData::setC25(double newC25)
{
    C25 = newC25;
}

double ConnectorBHDampingData::getC35() const
{
    return C35;
}

void ConnectorBHDampingData::setC35(double newC35)
{
    C35 = newC35;
}

double ConnectorBHDampingData::getC45() const
{
    return C45;
}

void ConnectorBHDampingData::setC45(double newC45)
{
    C45 = newC45;
}

double ConnectorBHDampingData::getC55() const
{
    return C55;
}

void ConnectorBHDampingData::setC55(double newC55)
{
    C55 = newC55;
}

double ConnectorBHDampingData::getC16() const
{
    return C16;
}

void ConnectorBHDampingData::setC16(double newC16)
{
    C16 = newC16;
}

double ConnectorBHDampingData::getC26() const
{
    return C26;
}

void ConnectorBHDampingData::setC26(double newC26)
{
    C26 = newC26;
}

double ConnectorBHDampingData::getC36() const
{
    return C36;
}

void ConnectorBHDampingData::setC36(double newC36)
{
    C36 = newC36;
}

double ConnectorBHDampingData::getC46() const
{
    return C46;
}

void ConnectorBHDampingData::setC46(double newC46)
{
    C46 = newC46;
}

double ConnectorBHDampingData::getC56() const
{
    return C56;
}

void ConnectorBHDampingData::setC56(double newC56)
{
    C56 = newC56;
}

double ConnectorBHDampingData::getC66() const
{
    return C66;
}

void ConnectorBHDampingData::setC66(double newC66)
{
    C66 = newC66;
}

double ConnectorBHDampingData::getForM() const
{
    return ForM;
}

void ConnectorBHDampingData::setForM(double newForM)
{
    ForM = newForM;
}

double ConnectorBHDampingData::getVorVR() const
{
    return VorVR;
}

void ConnectorBHDampingData::setVorVR(double newVorVR)
{
    VorVR = newVorVR;
}

double ConnectorBHDampingData::getF1() const
{
    return F1;
}

void ConnectorBHDampingData::setF1(double newF1)
{
    F1 = newF1;
}

double ConnectorBHDampingData::getF2() const
{
    return F2;
}

void ConnectorBHDampingData::setF2(double newF2)
{
    F2 = newF2;
}

double ConnectorBHDampingData::getF3() const
{
    return F3;
}

void ConnectorBHDampingData::setF3(double newF3)
{
    F3 = newF3;
}

double ConnectorBHDampingData::getM1() const
{
    return M1;
}

void ConnectorBHDampingData::setM1(double newM1)
{
    M1 = newM1;
}

double ConnectorBHDampingData::getM2() const
{
    return M2;
}

void ConnectorBHDampingData::setM2(double newM2)
{
    M2 = newM2;
}

double ConnectorBHDampingData::getM3() const
{
    return M3;
}

void ConnectorBHDampingData::setM3(double newM3)
{
    M3 = newM3;
}

double ConnectorBHDampingData::getV1() const
{
    return V1;
}

void ConnectorBHDampingData::setV1(double newV1)
{
    V1 = newV1;
}

double ConnectorBHDampingData::getV2() const
{
    return V2;
}

void ConnectorBHDampingData::setV2(double newV2)
{
    V2 = newV2;
}

double ConnectorBHDampingData::getV3() const
{
    return V3;
}

void ConnectorBHDampingData::setV3(double newV3)
{
    V3 = newV3;
}

double ConnectorBHDampingData::getVR1() const
{
    return VR1;
}

void ConnectorBHDampingData::setVR1(double newVR1)
{
    VR1 = newVR1;
}

double ConnectorBHDampingData::getVR2() const
{
    return VR2;
}

void ConnectorBHDampingData::setVR2(double newVR2)
{
    VR2 = newVR2;
}

double ConnectorBHDampingData::getVR3() const
{
    return VR3;
}

void ConnectorBHDampingData::setVR3(double newVR3)
{
    VR3 = newVR3;
}

double ConnectorBHDampingData::getCP1() const
{
    return CP1;
}

void ConnectorBHDampingData::setCP1(double newCP1)
{
    CP1 = newCP1;
}

double ConnectorBHDampingData::getCP2() const
{
    return CP2;
}

void ConnectorBHDampingData::setCP2(double newCP2)
{
    CP2 = newCP2;
}

double ConnectorBHDampingData::getCP3() const
{
    return CP3;
}

void ConnectorBHDampingData::setCP3(double newCP3)
{
    CP3 = newCP3;
}

double ConnectorBHDampingData::getCPR1() const
{
    return CPR1;
}

void ConnectorBHDampingData::setCPR1(double newCPR1)
{
    CPR1 = newCPR1;
}

double ConnectorBHDampingData::getCPR2() const
{
    return CPR2;
}

void ConnectorBHDampingData::setCPR2(double newCPR2)
{
    CPR2 = newCPR2;
}

double ConnectorBHDampingData::getCPR3() const
{
    return CPR3;
}

void ConnectorBHDampingData::setCPR3(double newCPR3)
{
    CPR3 = newCPR3;
}

double ConnectorBHDampingData::getCCU1() const
{
    return CCU1;
}

void ConnectorBHDampingData::setCCU1(double newCCU1)
{
    CCU1 = newCCU1;
}

double ConnectorBHDampingData::getCCU2() const
{
    return CCU2;
}

void ConnectorBHDampingData::setCCU2(double newCCU2)
{
    CCU2 = newCCU2;
}

double ConnectorBHDampingData::getCCU3() const
{
    return CCU3;
}

void ConnectorBHDampingData::setCCU3(double newCCU3)
{
    CCU3 = newCCU3;
}

double ConnectorBHDampingData::getCCUR1() const
{
    return CCUR1;
}

void ConnectorBHDampingData::setCCUR1(double newCCUR1)
{
    CCUR1 = newCCUR1;
}

double ConnectorBHDampingData::getCCUR2() const
{
    return CCUR2;
}

void ConnectorBHDampingData::setCCUR2(double newCCUR2)
{
    CCUR2 = newCCUR2;
}

double ConnectorBHDampingData::getCCUR3() const
{
    return CCUR3;
}

void ConnectorBHDampingData::setCCUR3(double newCCUR3)
{
    CCUR3 = newCCUR3;
}

}
